#!/bin/bash

ANDROID_ROOT=$1
PLATFORM=$2
shift 2

pushd ${ANDROID_ROOT}
. ${ANDROID_ROOT}/build/envsetup.sh
lunch ${PLATFORM}
popd
"$@"
